PM3.6 - Donkey Kong - Action - 0x134
Entry Script
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- if ((InternalConstantInt(CharacterDirection) Equal scalar(1)))
- if (BoolIsTrue RandomAccessBool(EnableJabLoop))
- IntVariableSet { variable: RandomAccessInt (0xb), value: 513 }
- IntVariableSet { variable: RandomAccessInt (0xc), value: 515 }
- else
- IntVariableSet { variable: RandomAccessInt (0xb), value: 509 }
- IntVariableSet { variable: RandomAccessInt (0xc), value: 511 }
- else
- if (BoolIsTrue RandomAccessBool(EnableJabLoop))
- IntVariableSet { variable: RandomAccessInt (0xb), value: 512 }
- IntVariableSet { variable: RandomAccessInt (0xc), value: 514 }
- else
- IntVariableSet { variable: RandomAccessInt (0xb), value: 508 }
- IntVariableSet { variable: RandomAccessInt (0xc), value: 510 }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 11 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 11 }), Bool(false)] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 12 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 12 }), Bool(false)] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- ArticleRemove(0)
- FinalSmashExit